package FunctionPackage;

import BookListPackage.BookList;

public class Exit implements Function {
    @Override
    public void work(BookList bookList) {
        System.out.println("退出系统！");
    }
    public void exit () {
        System.exit(0);
    }
}
